﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chp
{
    class Dog : Eat, ISwim
    {
        //狗类
        public void swim()
        {
            Console.WriteLine("{0}可以游泳",this.Name);
        }
        public Dog(string name):base(name) { }
    }
}
